<?php

namespace app\admin\command;


use addons\shopro\model\UserServe;
use think\console\Command;
use think\console\Input;
use think\console\Output;


class Timer extends Command
{
    protected function configure()
    {
        $this->setName('timer')->setDescription('timer');
    }

    protected function execute(Input $input, Output $output)
    {
        UserServe::cronBirth();
        UserServe::cronTime();
        UserServe::delCoupons();
        UserServe::delServe();
    }
}
